#coding=utf-8
import unittest

class TestCase(unittest.TestCase):
    def setUp(self):
        print "setUp0"
        
    def tearDown(self):
        print "tearDown0"
    def runTest(self):
        print "TestCase0"
        
class TestCase1(unittest.TestCase):
    def setUp(self):
        print "setUp1"
        
    def tearDown(self):
        print "tearDown1"
    def runTest(self):
        print "TestCase1"




SUITE=[]
suite = unittest.TestSuite()
def generate_suite(case):
    suite.addTest(case)
    
def generate_runner():
    runner=unittest.TextTestRunner()
    return runner

    
if __name__=="__main__":
    case=TestCase()
    case1=TestCase1()
    #generate_suite(case)
    
    suite = unittest.TestSuite()
    suite.addTests([case,case1])
    runner=unittest.TextTestRunner()
    runner.run(suite)
    